package com.fowo.api.model.inventory.detail.orderlist;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 领星库存明细 导入导出辅助模型 */
@Getter
@Setter
public class InventoryDetailOrderlistExcelPo {

  @Size(max = 100, message = "fnsku长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "fnsku")
  private String fnsku;

  @ExcelProperty(value = "次品量")
  private Integer productBadNum;

  @ExcelProperty(value = "锁定量")
  private Integer productLockNum;

  @ExcelProperty(value = "调拨在途")
  private Integer productOnway;

  @ExcelProperty(value = "待检待上架量")
  private Integer productQcNum;

  @ExcelProperty(value = "实际库存总量")
  private Integer productTotal;

  @ExcelProperty(value = "良品量")
  private Integer productValidNum;

  @ExcelProperty(value = "待到货量")
  private Integer quantityReceive;

  @Size(max = 50, message = "店铺编码长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "店铺编码")
  private String scode;

  @Size(max = 100, message = "sku长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "sku")
  private String sku;

  @ExcelProperty(value = "单位库存成本")
  private java.math.BigDecimal stockCost;

  @ExcelProperty(value = "库存成本")
  private java.math.BigDecimal stockCostTotal;

  @Size(max = 50, message = "仓库编码长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "仓库编码")
  private String wcode;

  @ExcelProperty(value = "仓库id")
  private Long wid;

  @ExcelProperty(value = "产品id")
  private Long pid;
}
